﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <title>@ViewData["Title"] - OpenPms</title>
    <link rel="stylesheet" href="~/lib/weui/dist/style/weui.min.css" />
    <link href="~/lib/fontawesome-free-5.15.4-web/css/all.css" rel="stylesheet" />
    <link href="~/css/worksite.css" rel="stylesheet" asp-append-version="true" />
    <link rel="stylesheet" href="~/OpenPms.styles.css" asp-append-version="true" />
</head>
<body ontouchstart>
    <div class="container" id="container">
        <div class="page js_show">

            <div class="page__bd page__bd_spacing" style="margin:15px 0 60px 0">
                @RenderBody()
            </div>
            <div class="weui-footer weui-footer_fixed-bottom">
                <p class="weui-footer__links">
                    <no-show asp-view-path="/Areas/M/Pages/Index.cshtml">
                        <a asp-area="M" asp-page="/Index" class="weui-footer__link">首页</a>
                    </no-show>
                    <a href="javascript:;" onclick="nav()" class="weui-footer__link">桌面版</a>
                </p>
                <p class="weui-footer__text">Copyright &copy; 2024忆客智能</p>
            </div>
        </div>
    </div>
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <script src="~/js/worksite.js" asp-append-version="true"></script>
    <script>
        $(function () {
            $("label").click(function () {
                var title = $(this).attr("data-bs-title");
                if (title != null && title != "")
                    ShowMessage($(this).html(), title);
            });
        });
        function nav() {
            document.location = `/D${"@(Model.Request.RouteValues["Page"].ToString() + Model.Request.QueryString)"}`;
        }

    </script>
    @await RenderSectionAsync("Scripts", required: false)
</body>
</html>